<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="b" uri="/bbs-tags"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'blogMessageBoard.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css" href="css/footer.css">
		<link rel="stylesheet" type="text/css" href="css/blog_header.css">

		<link rel="stylesheet" type="text/css"
			href="css/blog_center_right.css">
		<link rel="stylesheet" type="text/css" href="css/blog_top_head.css">
		<link rel="stylesheet" type="text/css" href="css/blogDiary.css">
		<style type="text/css">
			.userInfo{
				width:758px;
				height:auto;
				float: left;
			}
			.userInfo form table{
				height: 195px;
			}
			.userInfo form table tr td{
				text-align: left;
			}
			.userInfo form table tr td input{
				text-align: left;
			}
		</style>
	</head>

	<body>
		<div class="tbody">
			<%@ include file="styleJsp/blog_top_head.jsp"%>
			<div class="table">
				<%@include file="styleJsp/blog_header.jsp"%>
				<div class="center">
					<div id="content">
						<div class="center_left">
							<div class="center_left_title">
								<b>修改个人信息</b>
							</div>
							<div class="userInfo">
								<form action="modifyUserAction_modifyUserInfo">
									<table style="float: left;">
										<tr>
											<td>
												昵称
											</td>
											<td>
												<input type="text" name="userNickName" value="${userInfo.userNickName}" />
											</td>
										</tr>
										<tr>
											<td>
												性别
											</td>
											<td><input type="text" name="userSex" value="${userInfo.userSex}"></td>
										</tr>
										<tr>
											<td>
												出生日期
											</td>
											<td><input type="text" name="userBirth" value="${userInfo.userBirth}" /></td>
										</tr>
										<tr>
											<td>
												电话
											</td>
											<td><input type="text" name="userPhone" value="${userInfo.userPhone}"></td>
										</tr>
										<tr>
											<td>
												QQ
											</td>
											<td><input type="text" name="userQQ" value="${userInfo.userQq}"></td>
										</tr>
										<tr>
											<td>
												电子邮箱
											</td>
											<td><input type="text" name="userEmail" value="${userInfo.userEmail}"></td>
										</tr>
										<tr>
											<td>
												现居地址
											</td>
											<td><input type="text" name="userFrom" value="${userInfo.userFrom}"></td>
										</tr>
										<tr>
											<td>
											<input type="text" name="userId" style="display: none;" readonly="readonly" value="${user.userId}" />
												<input type="submit" value="修改">
											</td>
											<td>
												<input type="reset" value="重置">
											</td>
										</tr>
									</table>
								</form>
							</div>
						</div>
					</div>
					<%@ include file="styleJsp/blog_center_right.jsp"%>
				</div>
				<%@ include file="styleJsp/footer.jsp"%>
			</div>
		</div>
	</body>
</html>
